# -*- coding: utf-8 -*-


import pandas
import requests
import re
from matplotlib import pyplot as plt
import numpy as np
from mpl_toolkits.mplot3d import Axes3D



def showHistogram_x(num):
    '一维列表的柱状图'

    def demo1(num):
        mu, sigma = 0, 1
        sampleNo = 1000
        np.random.seed(0)
        # s = np.random.normal(mu, sigma, sampleNo)

        s = num
        plt.hist(s, bins=100)  # , normed=True)
        plt.show()

    demo1(num)